package com.wanmait.wanmarecruit.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
* Created by Mybatis Generator 2022/10/20
*/
@Data
@TableName(value = "notice")
public class Notice implements Serializable {
     @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "user_id")
    private Integer userId;
    @TableField(exist = false)
    private User user;

    @TableField(value = "notice_mode_id")
    private Integer noticeModeId;
    @TableField(exist = false)
    private NoticeMode noticeMode;

    @TableField(value = "notice_time")
    private Date noticeTime;

    @TableField(value = "company_id")
    private Integer companyId;
    @TableField(exist = false)
    private Company company;

    @TableField(value = "reader")
    private Boolean reader;

    private static final long serialVersionUID = 1L;

    public static final String COL_USER_ID = "user_id";

    public static final String COL_NOTICE_MODE_ID = "notice_mode_id";

    public static final String COL_NOTICE_TIME = "notice_time";

    public static final String COL_COMPANY_ID = "company_id";
}